IApi.Restart method
Restarts the EtherCAT master.
Namespace: IntervalZero.KINGSTAR.Base.ApiAssembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
KsCommandStatus Restart()
Function Restart() As KsCommandStatus
Return value
Type: KsCommandStatus
Returns the KsCommandStatus class.
Remarks
- If auto-restart is disabled, use this method to manually restart the EtherCAT master. This method doesn't break the link with applications. It restarts the EtherCAT master and all slaves but keeps the configuration. It assumes the slaves are identical. PDOs are frozen during the restart but won't be reset.
- Restart doesn't scan the devices on an EtherCAT network so it is faster than Start.
Usable EtherCAT states
ecatOP
Examples
N/A
See also